
#pragma once

#include <SDL_opengl.h>

template <class Texture> class TypedList;
class Texture;

class TextureManager
{
	public:
		
		TextureManager();
		~TextureManager();
	
		void Update		();
		void Clear		();
	
		void LoadFromTextureListFile( const char* szTextureListFileName );

		int GetTextureID( const StringHash& xHash );

	private:

		TypedList<Texture>*	m_pxTextureList;
		GLuint*				m_puGLTextureIDs;
};

// eof
